////////////////////////////////////////////////////////////////////////////////
// Filename: PhysicShape.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _PHYSICSHAPE_H_
#define _PHYSICSHAPE_H_

#include <vector>
#include <btBulletDynamicsCommon.h>


//////////////
// INCLUDES //
//////////////

enum PhysicShapeType
{
	Triangle,
	BvhTriangle
};

class PhysicShape
{
public:
	PhysicShape();
	PhysicShape(const PhysicShape&);
	PhysicShape operator=(PhysicShape const&);
	~PhysicShape();

	bool Initialize(std::string pFile, PhysicShapeType pType);
	void Uninit();
	void CalculateLocalInertia(btScalar mass, btVector3 &fallInertia);

	btCollisionShape* getShape();
private:
	btCollisionShape* mShape;
};

#endif
